<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>服务器运行状态</title>
</head>
<body>
	<chtml:command command="serverstatus" title="服务器运行状态" column="2"
		exclude="diskStatus" readonly="true">
		<chtml:property index="12" label="磁盘空间使用状态">
			<table class="data_table_list" align="center" cellpadding="1"
				cellspacing="1">
				<tr class="data_list_tr">
					<td class="data_list_th">磁盘名称</td>
					<td class="data_list_th">磁盘总容量</td>
					<td class="data_list_th">磁盘可用容量</td>
				</tr>
				<c:forEach items="${serverstatus.diskStatus}" var="vo">
					<tr class="data_list_tr">
						<td class="data_list_td">${vo.name }</td>
						<td class="data_list_td">${vo.totalSpace }</td>
						<td class="data_list_td">${vo.freeSpace }</td>
					</tr>
				</c:forEach>
			</table>
		</chtml:property>
	</chtml:command>
	<chtml:command command="vmstatus" title="Java虚拟机运行状态" column="2"
		exclude="gcStatus,threadStatus" readonly="true">
		<chtml:property index="12" label="Java虚拟机垃圾回收状态">
			<table class="data_table_list" align="center" cellpadding="1"
				cellspacing="1">
				<tr class="data_list_tr">
					<td class="data_list_th">垃圾回收类型名称</td>
					<td class="data_list_th">回收次数</td>
					<td class="data_list_th">回收花费时间</td>
				</tr>
				<c:forEach items="${vmstatus.gcStatus}" var="vo">
					<tr class="data_list_tr">
						<td class="data_list_td">${vo.name }</td>
						<td class="data_list_td">${vo.count }</td>
						<td class="data_list_td">${vo.time }</td>
					</tr>
				</c:forEach>
			</table>
		</chtml:property>
		<chtml:property index="12" label="Java线程状态">
			<table class="data_table_list" align="center" cellpadding="1"
				cellspacing="1">
				<tr class="data_list_tr">
					<td class="data_list_th">线程名</td>
					<td class="data_list_th">线程状态</td>
				</tr>
				<c:forEach items="${vmstatus.threadStatus}" var="vo">
					<tr class="data_list_tr">
						<td class="data_list_td">${vo.name }</td>
						<td class="data_list_td">${vo.state }</td>
					</tr>
				</c:forEach>
			</table>
		</chtml:property>
	</chtml:command>
</body>
</html>